import client from "./client.js";

export function SEARCH_RESOURCE(params) {
  return client({
    url: "/cmdb/api/v1/resource/",
    method: "get",
    params: params,
  });
}

export function HOST_DETAIL(params) {
  return client({
    url: "/cmdb/api/v1/host/",
    method: "get",
    params: params,
  });
}
